<?php

namespace App\Repositories;

use App\Models\GoodsNumberLog;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class GoodsNumberLogRepository
 * @package App\Repositories
 * @version October 16, 2017, 3:30 am CST
 *
 * @method GoodsNumberLog findWithoutFail($id, $columns = ['*'])
 * @method GoodsNumberLog find($id, $columns = ['*'])
 * @method GoodsNumberLog first($columns = ['*'])
*/
class GoodsNumberLogRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'goods_id',
        'attribute_id',
        'number',
        'user_id',
        'calculate'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return GoodsNumberLog::class;
    }
}
